package com.flower;

import com.yomahub.tlog.core.enhance.bytes.AspectLogEnhance;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.oas.annotations.EnableOpenApi;

import javax.annotation.sql.DataSourceDefinition;

/**
 * @ClassName OtherApplication
 * @Description TODO
 * @Author 吃麻椒的花酱
 * @Date 2022/3/16 11:00
 * @Version 1.0
 */
@SpringBootApplication
@ServletComponentScan
@MapperScan("com.flower.mapper")
@EnableFeignClients
@EnableDiscoveryClient
public class OtherApplication {
    static {
        AspectLogEnhance.enhance();
    }
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(OtherApplication.class);
        application.run(args);
    }
}
